<?php
/**
 * +----------------------------------------------------------------------
 * | summer framework
 * +----------------------------------------------------------------------
 * | Copyright (c) 2020 https://github.com/suframe/think-admin All rights reserved.
 * +----------------------------------------------------------------------
 * | Author: summer <806115620@qq.com>  2020/3/26 10:40
 * +----------------------------------------------------------------------
 */
declare (strict_types=1);

namespace app\mall\logic\act;

use app\mall\model\MallAct;

/**
 * 赠品
 * Class GiftLogic
 * @package app\mall\logic\act
 */
class GiftLogic extends Base
{

    /**
     * 创建
     * @param array $info
     * @return int
     */
    function create(array $info): int
    {
        // TODO: Implement create() method.
    }

    /**
     * 修改
     * @param MallAct $mallAct
     * @param $info
     * @return bool
     */
    function update(MallAct $mallAct, $info): bool
    {
        // TODO: Implement update() method.
    }
}